<?php

Yii::import('zii.widgets.CPortlet');

class UserMenu extends CPortlet {

    public function init() {
        $this->title = "<b>Login: " . CHtml::encode(Yii::app()->user->name) . "</b>";
        parent::init();

        Yii::app()->session['user'] = YII::app()->user->name;

        //    'pasien' => 1,
        //    'layanan' => array()
        //);
    }

   
}

?>